package io.gitee.zhangbinhub.admin.po

import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.noear.solon.validation.annotation.NotNull

@ApiModel("流程任务处理参数")
data class ProcessHandlingPo(
    @ApiModelProperty(name = "任务id", required = true)
    @field:NotNull(message = "任务id不能为空")
    var taskId: Long? = null,
    @ApiModelProperty(name = "处理结果", required = true)
    @field:NotNull(message = "处理结果不能为空")
    var pass: Boolean? = null,
    @ApiModelProperty(name = "处理意见", required = true)
    var message: String? = null,
    @ApiModelProperty(name = "自定义流程参数")
    var params: MutableMap<String, Any> = mutableMapOf()
)
